Fix the issue that images cause problems with setup scripts#344
Fix the issue that images cause problems with setup scripts#344GuentherJulian wants to merge 2 commits intodevonfw-tutorials:mainfrom
Conversation
|
@GuentherJulian do you know what's up with the build? |
@maybeec The OpenApi tutorials fail on the windows build because the Java version does not match. Windows Server 2022 has Java 8 as default version in GitHub, but Java 11 is required for this project. The Ubuntu environment already uses Java 11. |
|
couldn't we then simply fix it with https://github.com/actions/setup-java ? |
That would also be a solution. My thought was that the tutorials ensure to have the correct version on their own. Independent of the environment. Maybe in the future we will have different tutorials that need different Java versions. Then we might have the same problem later. |
|
OK got it. So normally the tutorial should state which devonfw ide is setup but there is no choice to impact the Java version, isn't it? I feel even Java 11 is already defaulted in the devonfw ide. |
Yes, Java 11 is currently the default in the devonfw-ide. We simply do not install and use the devonfw-ide in these tutorials. So in the Windows workflow, the Java version of the OS is used, which is Java 8. |
Adresses devonfw-tutorials/tutorials#204